<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>更新计数器资源的当前值。</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="internals2.counter.function.counter-get-value.html">counter_get_value</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="internals2.counter.function.counter-reset-value.html">counter_reset_value</a></div>
 <div class="up"><a href="internals2.counter.extended-interface.html">Extended</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="internals2.counter.function.counter-bump-value" class="refentry">
    <div class="refnamediv">
     <h1 class="refname">counter_bump_value</h1>
     <p class="refpurpose"><span class="refname">counter_bump_value</span> &mdash; <span class="dc-title">
      更新计数器资源的当前值。
     </span></p>

    </div>
    <div class="refsect1 description" id="refsect1-internals2.counter.function.counter-bump-value-description">
     <h3 class="title">说明</h3>
     <div class="methodsynopsis dc-description">
      <span class="type"><span class="type void">void</span></span> <span class="methodname"><strong>counter_bump_value</strong></span>
       ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$counter</code></span>
      , <span class="methodparam"><span class="type">integer</span> <code class="parameter">$offset</code></span>
      )</div>

     <p class="simpara">
      <span class="function"><strong>counter_bump_value()</strong></span> 更新计数器资源的当前值。
     </p>
    </div>

    <div class="refsect1 parameters" id="refsect1-internals2.counter.function.counter-bump-value-parameters">
     <h3 class="title">参数</h3>
     <dl>

      
       <dt>
<em><code class="parameter">counter</code></em></dt>

       <dd>
 
        <span class="simpara">
         要操作的计数器资源。
        </span>
       </dd>

      
      
       <dt>
<em><code class="parameter">offset</code></em></dt>

       <dd>

        <span class="simpara">
         计数器值的变化量。可为负数。
        </span>
       </dd>

      
     </dl>

    </div>

    <div class="refsect1 seealso" id="refsect1-internals2.counter.function.counter-bump-value-seealso">
     <h3 class="title">参见</h3>
     <ul class="simplelist">
      <li class="member"><span class="function"><a href="internals2.counter.function.counter-get-value.html" class="function" rel="rdfs-seeAlso">counter_get_value()</a> - 获取计数器资源的当前值。</span></li>
      <li class="member"><span class="function"><a href="internals2.counter.function.counter-reset-value.html" class="function" rel="rdfs-seeAlso">counter_reset_value()</a> - 重置计数器资源的当前值。</span></li>
     </ul>
    </div>

   </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="internals2.counter.function.counter-get-value.html">counter_get_value</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="internals2.counter.function.counter-reset-value.html">counter_reset_value</a></div>
 <div class="up"><a href="internals2.counter.extended-interface.html">Extended</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
